import createDomElement from './createDomElement'

export default function mountElementNative (virtualDOM, container) {
  let newElement = createDomElement(virtualDOM)
  // virtualDOM
  container.appendChild(newElement)

  if (virtualDOM._component) {
    virtualDOM._component.setDom(newElement)
  }
}